package com.jasic.comnt.protocol.bean;

import com.jasic.common.exception.HandleException;
import com.jasic.comnt.protocol.MessageCommon;

/**
 * User: Jasic
 * Date: 12-12-26
 *
 * 请求基类，通过生体生成字节流
 */
public abstract class BaseRequest extends BasePacket{

    /**
     * Client side used
     * @param common
     */
    public BaseRequest(MessageCommon common) {
        super(common);
    }

    /**
     * Server side used
     * @param data
     */
    public BaseRequest(byte[] data) throws HandleException {
        super(data);
    }
}
